Hello all,
I need to export a txt file with single lines of karyotype without any wordwrap or enclosing quotes per observation for the txt file to work for ingestion by R. Stata 17 is not allowing me to using a couple of options below. Would appreciate any help figuring this out.
P.S.: I deleted obs 95-100 in -dataex- since they were empty.
outfile kar using ".\karyoingest.txt", noquote replace wide runtogether
option noquote not allowed
r(198);
And this
outfile v1 using "D:\gvenkataraman\Documents\Dropbox\Girish Files\Rotation_Harini\karycytobatch.txt", noquote replace wide
exports a text file but the file still has wrapped lines. Unless I am not seeing this correctly in notepad.
I need to export a txt file with single lines of karyotype without any wordwrap or enclosing quotes per observation for the txt file to work for ingestion by R. Stata 17 is not allowing me to using a couple of options below. Would appreciate any help figuring this out.
P.S.: I deleted obs 95-100 in -dataex- since they were empty.
outfile kar using ".\karyoingest.txt", noquote replace wide runtogether
option noquote not allowed
r(198);
And this
outfile v1 using "D:\gvenkataraman\Documents\Dropbox\Girish Files\Rotation_Harini\karycytobatch.txt", noquote replace wide
exports a text file but the file still has wrapped lines. Unless I am not seeing this correctly in notepad.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str241 kar "46,XX[1]/47~50,XX,t(3;3)(p2?1;q2?1),del(4)(q21q35),add(5)(q31),-7,add(8)(p21),add(9)( p13),der(11)t(7;11)(p13;p15)add(11)(q25),der(12)t(?5;12)(q31;q22),i(13)(q10), +16,add(16)(q11.2),der(16)t(9;16)(q12;q13),-17,add(22)(q13),+3-5mar,inc[cp19]" "46,XY[1]/45,XY,add(1)(p36.3),del(5)(q15q33),add(6)(p21),del(7)(q22q34),der(12)t(12;?14)(q15;q11.2),-14,add(17)(q21),add(20)(q11.2)[3]/46,XY,+1,der(1)t(1;?22)(q21;q11.2),del(5)(q15q33),del(7)(q22q34),add(17)(q21),add(20)(q11.2),-22[17]" "46,XY[2]/45,XY,del(2)(p13p23),del(5)(q12q31.3),+8,del(9)(p21p24),der(11)t(11;11)(p13; q21),der(14)t(11;14)(q13;p11.1),-16,add(18)(q21.3),-20[14]/45,idem,add(22)(q11.2)[2]" "46,XX[7]/45,XX,del(5)(q11.2q35),t(5;12)(p13;p11.2),r(7)(p22q11.2),-17[10]/90,idemx2[cp3]" "67-82,XXYY,-3,add(5)(q22),-6,-7,-9,-10,-12,-12,der(14)t(3;14)(q21;q32),-16,-16,-17,idic(22)(p11.2),+mar[cp6]" end
Comment